package com.vik.webgallery.beans;

import java.util.Properties;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.vik.webgallery.web.GalleryController;

public class BaseBean {
	
	@Resource(name = "appConfig")
	protected Properties appProperties;
	
	protected static final Logger logger = LoggerFactory.getLogger(BaseBean.class);
	
	private long id;
	
	public BaseBean(){
		this.regenerateId();
	}
	
	public void regenerateId(){
		this.id = System.currentTimeMillis();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	
}
